package com.xnew.bean.common;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * 注册申请机构联系人信息表
 */
@TableName(" el_mem_org_linkman_info")
public class T10MemOrgLinkmanInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    private String orgLinkmanNo;//机构联系人编号
    private String orgUserNo;//机构用户编号
    private String linkmanName;//联系人姓名
    private String linkmanMob;//联系人手机
    private String linkmanOfficeTel;//联系人办公电话
    private String linkmanEml;//联系人邮箱
    private String linkmanFax;//联系人传真
    private String linkmanContactAddr;//联系人联系地址
    private String userNo;//用户编号
    private String linkmanDutyName;//联系人职务名称
    private String linkmanFlag;//联系人标识
    private String bankAcct;//银行账户
    private String oacctBankName;//开户银行名称
    private String orgDepName;//部门-经营机构
    private String dtcId;//证件类型id
    private String documentNo;//证件号码
    private String memshpApplyInfomaNo;//入会申请编号

    public String getOrgLinkmanNo() {
        return orgLinkmanNo;
    }

    public void setOrgLinkmanNo(String orgLinkmanNo) {
        this.orgLinkmanNo = orgLinkmanNo;
    }

    public String getOrgUserNo() {
        return orgUserNo;
    }

    public void setOrgUserNo(String orgUserNo) {
        this.orgUserNo = orgUserNo;
    }

    public String getLinkmanName() {
        return linkmanName;
    }

    public void setLinkmanName(String linkmanName) {
        this.linkmanName = linkmanName;
    }

    public String getLinkmanMob() {
        return linkmanMob;
    }

    public void setLinkmanMob(String linkmanMob) {
        this.linkmanMob = linkmanMob;
    }

    public String getLinkmanOfficeTel() {
        return linkmanOfficeTel;
    }

    public void setLinkmanOfficeTel(String linkmanOfficeTel) {
        this.linkmanOfficeTel = linkmanOfficeTel;
    }

    public String getLinkmanEml() {
        return linkmanEml;
    }

    public void setLinkmanEml(String linkmanEml) {
        this.linkmanEml = linkmanEml;
    }

    public String getLinkmanFax() {
        return linkmanFax;
    }

    public void setLinkmanFax(String linkmanFax) {
        this.linkmanFax = linkmanFax;
    }

    public String getLinkmanContactAddr() {
        return linkmanContactAddr;
    }

    public void setLinkmanContactAddr(String linkmanContactAddr) {
        this.linkmanContactAddr = linkmanContactAddr;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getLinkmanDutyName() {
        return linkmanDutyName;
    }

    public void setLinkmanDutyName(String linkmanDutyName) {
        this.linkmanDutyName = linkmanDutyName;
    }

    public String getLinkmanFlag() {
        return linkmanFlag;
    }

    public void setLinkmanFlag(String linkmanFlag) {
        this.linkmanFlag = linkmanFlag;
    }

    public String getBankAcct() {
        return bankAcct;
    }

    public void setBankAcct(String bankAcct) {
        this.bankAcct = bankAcct;
    }

    public String getOacctBankName() {
        return oacctBankName;
    }

    public void setOacctBankName(String oacctBankName) {
        this.oacctBankName = oacctBankName;
    }

    public String getOrgDepName() {
        return orgDepName;
    }

    public void setOrgDepName(String orgDepName) {
        this.orgDepName = orgDepName;
    }

    public String getDtcId() {
        return dtcId;
    }

    public void setDtcId(String dtcId) {
        this.dtcId = dtcId;
    }

    public String getDocumentNo() {
        return documentNo;
    }

    public void setDocumentNo(String documentNo) {
        this.documentNo = documentNo;
    }

    public String getMemshpApplyInfomaNo() {
        return memshpApplyInfomaNo;
    }

    public void setMemshpApplyInfomaNo(String memshpApplyInfomaNo) {
        this.memshpApplyInfomaNo = memshpApplyInfomaNo;
    }

    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField(exist = false)
    private Map<String, Object> dictNameResult = new HashMap<String, Object>();

    public Map<String, Object> getDictNameResult() {
        return dictNameResult;
    }

    public void setDictNameResult(Map<String, Object> dictNameResult) {
        this.dictNameResult = dictNameResult;
    }

    //数据字典
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeField(){
        return new String[]{"dtcId"};
    }

    /*数据字典*/
    @Transient
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public String[] buildIncludeType(){
        return new String[]{"DG0081"};
    }
}
